package com.liuyucheng.designpattern.建造者模式;

public class TestBuilder {
    public static void main(String[] args) {
        //服务员
        Director director = new Director();
        //服务员帮忙点餐
        Product product = director.build2(new Worker());
        System.out.println(product);
    }
}
